gtk4.git
11 years agocalendar: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 17:07:15 +0000 (19:07 +0200)]
calendar: don't use focus-line-width

11 years agobutton: don't use focus-line-width
Cosimo Cecchi [Sun, 4 May 2014 16:51:53 +0000 (18:51 +0200)]
button: don't use focus-line-width

11 years agobutton: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 16:51:42 +0000 (18:51 +0200)]
button: remove unused code

11 years agowidget: deprecate focus-line-pattern style property
Cosimo Cecchi [Sun, 4 May 2014 16:46:11 +0000 (18:46 +0200)]
widget: deprecate focus-line-pattern style property

Nothing in GTK uses it.

11 years agowidget: deprecate focus-padding style property
Cosimo Cecchi [Sun, 4 May 2014 16:44:00 +0000 (18:44 +0200)]
widget: deprecate focus-padding style property

There's no use left inside GTK.

11 years agocalendar: simplify code
Cosimo Cecchi [Sun, 4 May 2014 16:41:00 +0000 (18:41 +0200)]
calendar: simplify code

Always use the newly introduced get_component_paddings() instead of
doing the work manually every time.

11 years agocalendar: use CSS paddings instead of focus pad for day/week areas
Cosimo Cecchi [Sun, 4 May 2014 16:34:11 +0000 (18:34 +0200)]
calendar: use CSS paddings instead of focus pad for day/week areas

focus-padding is going away.

11 years agorange: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 15:26:57 +0000 (17:26 +0200)]
range: remove unused code

11 years agocolorscale: don't use focus padding
Cosimo Cecchi [Sun, 4 May 2014 15:16:03 +0000 (17:16 +0200)]
colorscale: don't use focus padding

11 years agorange: don't use focus padding
Cosimo Cecchi [Sun, 4 May 2014 15:14:52 +0000 (17:14 +0200)]
range: don't use focus padding

11 years agoscale: remove unused code
Cosimo Cecchi [Sun, 4 May 2014 15:13:34 +0000 (17:13 +0200)]
scale: remove unused code

11 years agoexpander: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 16:45:35 +0000 (18:45 +0200)]
expander: don't use focus padding

11 years agoexpander: add support for CSS padding and borders
Cosimo Cecchi [Fri, 2 May 2014 13:01:38 +0000 (15:01 +0200)]
expander: add support for CSS padding and borders

We need to do this since we're about to remove focus-pad.

11 years agonotebook: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 07:34:14 +0000 (09:34 +0200)]
notebook: don't use focus padding

11 years agomodelbutton: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:08:47 +0000 (02:08 +0200)]
modelbutton: don't use focus padding

11 years agoflowbox: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:05:49 +0000 (02:05 +0200)]
flowbox: don't use focus padding

11 years agolistbox: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:03:14 +0000 (02:03 +0200)]
listbox: don't use focus padding

11 years agoswitch: don't use focus padding
Cosimo Cecchi [Fri, 2 May 2014 00:00:05 +0000 (02:00 +0200)]
switch: don't use focus padding

11 years agotreeview: don't use focus padding
Cosimo Cecchi [Thu, 1 May 2014 23:55:02 +0000 (01:55 +0200)]
treeview: don't use focus padding

11 years agocheckbutton: support CSS paddings and borders
Cosimo Cecchi [Thu, 1 May 2014 23:40:26 +0000 (01:40 +0200)]
checkbutton: support CSS paddings and borders

We need this since we just removed focus-padding.

11 years agocheckbutton: don't use focus padding
Cosimo Cecchi [Thu, 1 May 2014 23:39:06 +0000 (01:39 +0200)]
checkbutton: don't use focus padding

11 years agobutton: don't read focus padding property
Cosimo Cecchi [Thu, 1 May 2014 18:13:47 +0000 (20:13 +0200)]
button: don't read focus padding property

We're going to deprecate it.

11 years agowidget: deprecate interior-focus style property
Cosimo Cecchi [Thu, 1 May 2014 17:36:42 +0000 (19:36 +0200)]
widget: deprecate interior-focus style property

Nothing uses it anymore inside GTK.

11 years agoreftests: never set interior-focus
Cosimo Cecchi [Thu, 1 May 2014 17:36:31 +0000 (19:36 +0200)]
reftests: never set interior-focus

11 years agowin32: don't set interior-focus in the theme
Cosimo Cecchi [Thu, 1 May 2014 17:36:17 +0000 (19:36 +0200)]
win32: don't set interior-focus in the theme

11 years agotextview: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:35:58 +0000 (19:35 +0200)]
textview: always use interior focus

11 years agospinbutton: remove unused code
Cosimo Cecchi [Thu, 1 May 2014 17:35:46 +0000 (19:35 +0200)]
spinbutton: remove unused code

11 years agoradiobutton: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:35:30 +0000 (19:35 +0200)]
radiobutton: always use interior focus

11 years agoexpander: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:35:16 +0000 (19:35 +0200)]
expander: always use interior focus

11 years agocheckbutton: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:34:48 +0000 (19:34 +0200)]
checkbutton: always use interior focus

11 years agoentry: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:20:30 +0000 (19:20 +0200)]
entry: always use interior focus

11 years agobutton: always use interior focus
Cosimo Cecchi [Thu, 1 May 2014 17:14:43 +0000 (19:14 +0200)]
button: always use interior focus

We're going to deprecate the property, and this is what everyone has
been using.

11 years agowidget-factory: use same spacing for buttons column
Cosimo Cecchi [Thu, 1 May 2014 16:55:33 +0000 (18:55 +0200)]
widget-factory: use same spacing for buttons column

So that they nicely align with entries. Useful when tweaking the theme.

11 years agoGtkCellArea: allow finding attributes at runtime
Matthias Clasen [Thu, 8 May 2014 18:06:03 +0000 (14:06 -0400)]
GtkCellArea: allow finding attributes at runtime

This will allow e.g. GtkInspector to display attribute mappings.

http://bugzilla.gnome.org/show_bug.cgi?id=729817

11 years agoGtkListBox: improve the docs
Matthias Clasen [Thu, 8 May 2014 11:33:01 +0000 (07:33 -0400)]
GtkListBox: improve the docs

The documentation was not really clear about ::row-selected
not working for multi-selection.

11 years agoGdkCursor: Don't leak a cairo surface
David Mansfield [Tue, 6 May 2014 18:50:00 +0000 (18:50 +0000)]
GdkCursor: Don't leak a cairo surface

The function gdk_cursor_new_from_pixbuf creates a cairo surface
to pass to its backend implementation, but doesn't destroy it
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=729670

11 years agoUpdate the design for progress bars
William Jon McCann [Wed, 7 May 2014 09:13:59 +0000 (05:13 -0400)]
Update the design for progress bars

We now use a narrower trough and paint the optional text
beside the trough instead of inside it. This makes for a much
cleaner appearance and more readable text.

11 years agoRemove debug spew
Matthias Clasen [Wed, 7 May 2014 10:51:17 +0000 (06:51 -0400)]
Remove debug spew

11 years agowidget-factory: add linked entry and button example
William Jon McCann [Tue, 6 May 2014 15:13:33 +0000 (11:13 -0400)]
widget-factory: add linked entry and button example

11 years agowayland: Fix c&p typo in touch capabilities handling.
Carlos Garnacho [Mon, 28 Apr 2014 10:58:50 +0000 (12:58 +0200)]
wayland: Fix c&p typo in touch capabilities handling.

11 years agoBloatpad: port to new accel api
Matthias Clasen [Tue, 6 May 2014 13:16:28 +0000 (09:16 -0400)]
Bloatpad: port to new accel api

11 years agoviewport: Don't subtract borders and padding from -1
Benjamin Otte [Tue, 6 May 2014 02:00:38 +0000 (04:00 +0200)]
viewport: Don't subtract borders and padding from -1

-1 is a special value for "undefined" and needs to stay that way

https://bugzilla.gnome.org/show_bug.cgi?id=729607

11 years agodocs: Fix name of GtkFileChooser's Create Folder button
Marcus Karlsson [Sun, 4 May 2014 14:00:26 +0000 (16:00 +0200)]
docs: Fix name of GtkFileChooser's Create Folder button

The documentation for GtkFileChooser references the button which allows
the user to create new folders as the New Folder button, although the
label actually says Create Folder.

Update the documentation to say Create Folder instead of New Folder.

https://bugzilla.gnome.org/show_bug.cgi?id=729475

11 years agodocs: fix typos in gtk_file_chooser_set_local_only
Marcus Karlsson [Sun, 4 May 2014 15:08:47 +0000 (17:08 +0200)]
docs: fix typos in gtk_file_chooser_set_local_only

Change "file are files" to "file or files." Also remove an excessive
"file" in "file system."

https://bugzilla.gnome.org/show_bug.cgi?id=729473

11 years agoa11y: Avoid a warning
Matthias Clasen [Mon, 5 May 2014 22:16:55 +0000 (18:16 -0400)]
a11y: Avoid a warning

The listbox row accessible code was giving warnings when
parent is NULL, at destruction time.

11 years agoGtkColorButton: Fix recursion loop in "use-alpha" set_property()
Juan Pablo Ugarte [Mon, 5 May 2014 18:22:52 +0000 (15:22 -0300)]
GtkColorButton: Fix recursion loop in "use-alpha" set_property()

11 years agoa11y: Disable deprecation warnings in AtkMisc implementation
Benjamin Otte [Mon, 5 May 2014 14:10:16 +0000 (16:10 +0200)]
a11y: Disable deprecation warnings in AtkMisc implementation

11 years agocombobox: Add workaround so evolution doesn't crash
Benjamin Otte [Mon, 5 May 2014 13:46:23 +0000 (15:46 +0200)]
combobox: Add workaround so evolution doesn't crash

Removing the NULL checks in 7f60cab47d9651ed3ed53b86f1f74de71b55eee0
caused evolution to crash. It chains up with NULL and that used to work.

This patch should be reverted for GTK 4.0.

https://bugzilla.gnome.org/show_bug.cgi?id=729496

11 years agoapplicationwindow: Properly unmap the menubar widget
Benjamin Otte [Mon, 5 May 2014 13:27:14 +0000 (15:27 +0200)]
applicationwindow: Properly unmap the menubar widget

11 years agotests: Add test for latest patch
Benjamin Otte [Thu, 1 May 2014 17:49:47 +0000 (19:49 +0200)]
tests: Add test for latest patch

This tesst infloops without it.

11 years agocss: Fix printing code for CSS strings and idents
Benjamin Otte [Thu, 1 May 2014 17:48:40 +0000 (19:48 +0200)]
css: Fix printing code for CSS strings and idents

It used to infloop on special characters.

11 years agocss: Split out a common function
Benjamin Otte [Thu, 1 May 2014 17:47:58 +0000 (19:47 +0200)]
css: Split out a common function

It's used in two places already, and Iwant to use it in a third one.

11 years agoSmall documentation update
Matthias Clasen [Mon, 5 May 2014 13:41:06 +0000 (09:41 -0400)]
Small documentation update

Don't show an example that doesn't work anymore.

11 years agoSmall documentation fixes
Matthias Clasen [Mon, 5 May 2014 11:24:18 +0000 (07:24 -0400)]
Small documentation fixes

Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=729461

11 years agoGtkApplication: Clarify docs a bit
Matthias Clasen [Mon, 5 May 2014 11:20:31 +0000 (07:20 -0400)]
GtkApplication: Clarify docs a bit

Explicitly mention how gtk_application_set_accels_for_action can
be used to remove all accelerators for an action.

https://bugzilla.gnome.org/show_bug.cgi?id=729451

11 years agoUpdated Belarusian translation
Ihar Hrachyshka [Sun, 4 May 2014 22:09:19 +0000 (22:09 +0000)]
Updated Belarusian translation

11 years agolistbox: check gsequence end iter in get_row_at_index
Paolo Borelli [Sun, 4 May 2014 17:38:31 +0000 (19:38 +0200)]
listbox: check gsequence end iter in get_row_at_index

11 years agoGtkHeaderBar: Allow overdrawing
Matthias Clasen [Sat, 3 May 2014 05:02:56 +0000 (01:02 -0400)]
GtkHeaderBar: Allow overdrawing

The draw function of GtkHeaderBar was returning TRUE, causing
after-signal handlers to not run. This breaks e.g. drawing of
dnd hightlights. Fix that.

11 years agoFix a thinko in the last color button change
Matthias Clasen [Sat, 3 May 2014 01:09:05 +0000 (21:09 -0400)]
Fix a thinko in the last color button change

Using the interface method in the set_property implementation
leads to an infinite recursion, if the interface method is in
turn using g_object_set.

11 years agoa11y tests: Avoid deprecation warnings
Matthias Clasen [Sat, 3 May 2014 00:59:00 +0000 (20:59 -0400)]
a11y tests: Avoid deprecation warnings

We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.

11 years agoa11y tests: Update expected output
Matthias Clasen [Sat, 3 May 2014 00:49:43 +0000 (20:49 -0400)]
a11y tests: Update expected output

The new AtkValue interface aways returns doubles, which causes
the range to be printed out with decimals.

11 years agoa11y tests: Use the new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:48:35 +0000 (20:48 -0400)]
a11y tests: Use the new AtkValue interface

The old interface is deprecated, and we just implemented the
new one, so lets test it.

11 years agoGtkDialog: Reduce a g_warning to a g_message
Matthias Clasen [Sat, 3 May 2014 00:47:56 +0000 (20:47 -0400)]
GtkDialog: Reduce a g_warning to a g_message

Otherwise, this breaks our testsuite.

11 years agoGtkSpinButton: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:47:16 +0000 (20:47 -0400)]
GtkSpinButton: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkScaleButton: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:47:00 +0000 (20:47 -0400)]
GtkScaleButton: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkRange: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:46:45 +0000 (20:46 -0400)]
GtkRange: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkProgressBar: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:46:30 +0000 (20:46 -0400)]
GtkProgressBar: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkPaned: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:46:17 +0000 (20:46 -0400)]
GtkPaned: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkLevelBar: Implement new AtkValue interface
Matthias Clasen [Sat, 3 May 2014 00:45:19 +0000 (20:45 -0400)]
GtkLevelBar: Implement new AtkValue interface

The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.

11 years agoGtkWidget: Mark deprecated properties as such
Matthias Clasen [Fri, 2 May 2014 23:25:27 +0000 (19:25 -0400)]
GtkWidget: Mark deprecated properties as such

The ::style, ::margin-left and ::margin-right properties are all
deprecated.

11 years agoDrop unneeded deprecation suppression
Matthias Clasen [Fri, 2 May 2014 22:50:52 +0000 (18:50 -0400)]
Drop unneeded deprecation suppression

Removing this did not produce any deprecation warnings.

11 years agoqueryimmodules: Localize suppressed deprecation
Matthias Clasen [Fri, 2 May 2014 22:48:36 +0000 (18:48 -0400)]
queryimmodules: Localize suppressed deprecation

Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid
deprecated API as much as possible.

11 years agoGtkColorButton: Reduce internal use of deprecated API
Matthias Clasen [Fri, 2 May 2014 22:42:18 +0000 (18:42 -0400)]
GtkColorButton: Reduce internal use of deprecated API

Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid
deprecated API as much as possible.

11 years agoGtkColorButton: Update deprecation warnings
Matthias Clasen [Fri, 2 May 2014 22:41:29 +0000 (18:41 -0400)]
GtkColorButton: Update deprecation warnings

It is not great to have deprecation warnings point to another
deprecated function. Update them to point to the eventual
replacement.

11 years agoGtkDialog: Warn about lack of transient parents
Matthias Clasen [Fri, 2 May 2014 22:23:58 +0000 (18:23 -0400)]
GtkDialog: Warn about lack of transient parents

We want make it mandatory for dialogs to have transient parents,
eventually. This is a first step in that direction.

11 years agoteststack: don't enumerate transitions manually
Matthias Clasen [Fri, 2 May 2014 21:43:18 +0000 (17:43 -0400)]
teststack: don't enumerate transitions manually

Thats what introspection is for.

11 years agoGtkStack: Avoid compiler warnings
Matthias Clasen [Fri, 2 May 2014 21:15:49 +0000 (17:15 -0400)]
GtkStack: Avoid compiler warnings

gcc warns about unhandled enum values in these switch statements,
so add an empty default: case to placate the compiler.

11 years agostack: Add counterparts of OVER_UP_DOWN transition
Philip Chimento [Wed, 19 Mar 2014 03:42:59 +0000 (20:42 -0700)]
stack: Add counterparts of OVER_UP_DOWN transition

The GtkStackTransitionType enum now has OVER_DOWN_UP, OVER_LEFT_RIGHT,
and OVER_RIGHT_LEFT values to complement OVER_UP_DOWN.

https://bugzilla.gnome.org/show_bug.cgi?id=726676

11 years agostack: More readability when adding transitions
Philip Chimento [Wed, 19 Mar 2014 00:49:46 +0000 (17:49 -0700)]
stack: More readability when adding transitions

This small refactor makes the code more readable when adding more
transition types that have left, right, up, and down variations.

It adds inline boolean functions to tell information about transition
types (avoiding long if clauses) and changes long chains of "else if
(transition_type == ...)" into switch statements. Both are only likely
to get longer as more transition types are added.

https://bugzilla.gnome.org/show_bug.cgi?id=726676

11 years agooverlay: don't have a custom draw implementation
Cosimo Cecchi [Fri, 2 May 2014 18:32:15 +0000 (20:32 +0200)]
overlay: don't have a custom draw implementation

We can't think with Benjamin of a reason this should be needed, so let's
just remove it.

11 years agothemingengine: only round outline corners after shrinking
Cosimo Cecchi [Thu, 1 May 2014 23:39:35 +0000 (01:39 +0200)]
themingengine: only round outline corners after shrinking

Ensures the correctness of the applied radius.

11 years agoGtkBuilder: added template parent type check.
Juan Pablo Ugarte [Fri, 2 May 2014 17:38:05 +0000 (14:38 -0300)]
GtkBuilder: added template parent type check.

11 years agoGtkFlowBox: fixed NULL dereferencing segfaults
Juan Pablo Ugarte [Thu, 1 May 2014 23:31:59 +0000 (20:31 -0300)]
GtkFlowBox: fixed NULL dereferencing segfaults

11 years agoGtkMenu: fixed more NULL dereferencing segfault
Juan Pablo Ugarte [Thu, 1 May 2014 23:31:31 +0000 (20:31 -0300)]
GtkMenu: fixed more NULL dereferencing segfault

11 years agoGtkGrid: gtk_grid_get_size_for_size() do not dereference a NULL pointer.
Juan Pablo Ugarte [Thu, 1 May 2014 22:54:10 +0000 (19:54 -0300)]
GtkGrid: gtk_grid_get_size_for_size() do not dereference a NULL pointer.

11 years agoGtkBuilder: improved parsing error report for invalid properties and signals.
Juan Pablo Ugarte [Tue, 29 Apr 2014 19:22:32 +0000 (16:22 -0300)]
GtkBuilder: improved parsing error report for invalid properties and signals.

Added GTK_BUILDER_ERROR_INVALID_PROPERTY and GTK_BUILDER_ERROR_INVALID_SIGNAL
error codes

ObjectInfo: Use a GType instead of a char * for the class name.
PropertyInfo: Use a GParamSpec instead of a char * for the property name.
SignalInfo: Use signal id and detail quark instead of a detailed signal name string.

This not only save us a few malloc in each case but lets us simplify the code
and report unknown properties and signals as a parsing error instead of just
printing a warning.

11 years agoGtkBuilder: fixed a few minor memory leaks.
Juan Pablo Ugarte [Tue, 29 Apr 2014 16:48:16 +0000 (13:48 -0300)]
GtkBuilder: fixed a few minor memory leaks.

Fixed memory leaks in parse_object(), parse_template() and parse_signal() functions.
Parameters value where strduped before the last posible return and not freed.

11 years agoW32: override selected button style to remove colored background
Руслан Ижбулатов [Thu, 1 May 2014 18:17:30 +0000 (18:17 +0000)]
W32: override selected button style to remove colored background

https://bugzilla.gnome.org/show_bug.cgi?id=729353

11 years agoW32: Add a theme for .app-notification
Руслан Ижбулатов [Thu, 1 May 2014 17:09:40 +0000 (17:09 +0000)]
W32: Add a theme for .app-notification

This is copied from Adwaita. Looks sufficiently ok.

https://bugzilla.gnome.org/show_bug.cgi?id=729346

11 years agolistbox: fix a segfault
Cosimo Cecchi [Thu, 1 May 2014 17:46:47 +0000 (19:46 +0200)]
listbox: fix a segfault

Don't dereference a NULL pointer.

11 years agocombobox: fix a segfault
Cosimo Cecchi [Thu, 1 May 2014 17:43:20 +0000 (19:43 +0200)]
combobox: fix a segfault

Don't dereference a NULL pointer.

11 years agothemingengine: use outlines to render focus rings
Cosimo Cecchi [Thu, 1 May 2014 16:12:35 +0000 (18:12 +0200)]
themingengine: use outlines to render focus rings

Instead of the old non-CSS implementation. This allows us to get rid of
the very last piece of custom theming in Adwaita.

11 years agocss: add properties for outline-radius
Cosimo Cecchi [Thu, 1 May 2014 16:11:23 +0000 (18:11 +0200)]
css: add properties for outline-radius

Both a shorthand and individual properties. This is not officially part
of the CSS standard, but there's precedence for it at least in Mozilla:
https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-outline-radius

11 years agotreeview: respect focus-padding when rendering focus
Cosimo Cecchi [Thu, 1 May 2014 16:07:25 +0000 (18:07 +0200)]
treeview: respect focus-padding when rendering focus

Adwaita had a hack to work this around, but now that we're moving focus
ring rendering into GTK, we can just fix the treeview instead.

11 years agotreeview: Always call size request funcs with valid out pointers
Benjamin Otte [Thu, 1 May 2014 13:16:17 +0000 (15:16 +0200)]
treeview: Always call size request funcs with valid out pointers

Not doing so causes crashes since
a158a2aa48c8023f99963642cc2657bff207b82NULLd

11 years agorevealer: Remove unneeded checks
Benjamin Otte [Wed, 30 Apr 2014 07:27:22 +0000 (09:27 +0200)]
revealer: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.

11 years agopopover: Remove unneeded checks
Benjamin Otte [Wed, 30 Apr 2014 07:26:28 +0000 (09:26 +0200)]
popover: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.

11 years agomenuitem: Remove unneeded checks
Benjamin Otte [Wed, 30 Apr 2014 07:24:17 +0000 (09:24 +0200)]
menuitem: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.

11 years agomenu: Remove unneeded checks
Benjamin Otte [Wed, 30 Apr 2014 07:23:04 +0000 (09:23 +0200)]
menu: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.

11 years agolevelbar: Remove unneeded checks
Benjamin Otte [Wed, 30 Apr 2014 07:22:29 +0000 (09:22 +0200)]
levelbar: Remove unneeded checks

Size vfuncs always get non-null out variables passed, so no need to
check for NULL.